package org.moda.table;

/**
 * @ClassName: ColType
 * @Description: 列类型
 * @Author: xuanyang
 * @Date: 2024-11-02 20:36
 * @Version: 1.0
 **/
public enum ColType {
    STRING("varchar", Col.ColString.class),
    NUMBER("number", Col.ColNumber.class),
    BOOLEAN("boolean", Col.ColBoolean.class);

    public final String name;
    public final Class<? extends Col<?>> colClazz;
    ColType(String name, Class<? extends Col<?>> colClazz) {
        this.name = name;
        this.colClazz = colClazz;
    }
}
